<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./font/iconfont.css">
    <style>
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            height: 30px;
            background: #e3e4e5;
            font-size: 14px;
            box-sizing: border-box;
            padding: 0 30px;
        }
        .icon-dizhi{
            color: red;
        }
        ul {
            display: flex;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        ul li {
            width: 80px;
            height: 29px;
            text-align: center;
            /* 内容显示区 */
            line-height: 29px;
            box-sizing: border-box;
            border: 1px solid transparent;
        }
        ul li:hover {
            background: #fff;
            border: 1px solid #ccc;
            border-bottom: none;
        }
        .dropdown-btn {
            position: relative;
        }
        .dropdown-btn:hover .dropdown-menu {
            display: block;
        }
        .dropdown-btn:hover .line {
            display: block;
        }
        .line {
            width: 78px;
            height: 1px;
            background: #fff;
            position: absolute;
            top: 28px;
            left: 0;
            z-index: 1;
            display: none;
        }
        .dropdown-menu {
            position: absolute;
            top: 28px;
            left: -1px;
            width: 300px;
            height: 200px;
            border: 1px solid #ccc;
            background: #fff;
            display: none;
        }
    </style>
</head>
<body>
    <div class="header">
        <div>
            <span class="iconfont icon-dizhi"></span>江苏</div>
        <ul>
            <li>我的订单</li>
            <li class="dropdown-btn">
                我的订单
                <div class="line"></div>
                <div class="dropdown-menu">这是下拉菜单</div>
            </li>
            <li>我的订单</li>
            <li>我的订单</li>
            <li>我的订单</li>
            <li>我的订单</li>
            <li>我的订单</li>
        </ul>
    </div>
</body>
</html>